package pers.cz.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class AutoTestCase implements Serializable {
    private Integer id;

    private Integer userId;

    private String userName;

    private String caseName;

    private Integer publicTemplateId;

    private String publicTemplateName;

    private Integer testCaseTemplateId;

    private String testCaseTemplateName;

    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    private String ext1;

    private String ext2;

    private String ext3;

    public String getPublicTemplateName() {
        return publicTemplateName;
    }

    public void setPublicTemplateName(String publicTemplateName) {
        this.publicTemplateName = publicTemplateName;
    }

    public String getTestCaseTemplateName() {
        return testCaseTemplateName;
    }

    public void setTestCaseTemplateName(String testCaseTemplateName) {
        this.testCaseTemplateName = testCaseTemplateName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCaseName() {
        return caseName;
    }

    public void setCaseName(String caseName) {
        this.caseName = caseName == null ? null : caseName.trim();
    }

    public Integer getPublicTemplateId() {
        return publicTemplateId;
    }

    public void setPublicTemplateId(Integer publicTemplateId) {
        this.publicTemplateId = publicTemplateId;
    }

    public Integer getTestCaseTemplateId() {
        return testCaseTemplateId;
    }

    public void setTestCaseTemplateId(Integer testCaseTemplateId) {
        this.testCaseTemplateId = testCaseTemplateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1 == null ? null : ext1.trim();
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2 == null ? null : ext2.trim();
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3 == null ? null : ext3.trim();
    }
}
